import java.io.Serializable;


/*****************************************************************************
 * File: Reservation.java
 * Author:  Todd Silvia & Phil Pilosi
 * Class:   CS 441 - Spring 2011
 * Project: 2 - Distributed Booking Agent, with RMI
 * Date:    February 28th 2011
 * Description: Reservation object that holds all information that is relevant
 * 				to a given Reservation. An array list of Reservation objects
 * 				is stored inside each Event object.
 */

public class Reservation implements Serializable {
	private String nameForReservation;		//Name to associate with the reservation
	private int confirmationNumber;			//Unique Confirmation Number for reservation
	private int spaceReserved;				//Amount of space taken by reservation
	
	public Reservation(String theName, int theSpace, int theConfNumber) {
		nameForReservation = theName;
		confirmationNumber = theConfNumber;
		spaceReserved = theSpace;
	}
	
	/*******************************Getter Methods********************************/
	public int getSpaceReserved() {
		return this.spaceReserved;
	}//END getSpaceReserved()
	
	public int getConfirmationNumber() {
		return this.confirmationNumber;
	}//END getConfirmationNumber()
	
	public String getNameForReservation() {
		return this.nameForReservation;
	}//END getNameForReservation()
	
}//END Reservation{}
